package cn.yunhe.util;

import org.apache.shiro.crypto.hash.SimpleHash;

/**
 * 加密工具类
 */
public class Md5Util {

    public static void  main(String[] args) {
        String password = "admin"; //密码
        String  salt="admin"; //账号
        System.out.println(new SimpleHash("MD5", password, salt).toString());
    }
}
